<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>JSDoc: Class: _</title>

<!--
    <script src="http://shjs.sourceforge.net/sh_main.min.js"> </script>
    <script src="http://shjs.sourceforge.net/lang/sh_javascript.min.js"> </script>
-->
    <!--[if lt IE 9]>
      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <link type="text/css" rel="stylesheet" href="styles/node-dark.css">
    <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>

<body>

<div id="main">
    
    <h1 class="page-title">Class: _</h1>
    
    



<section>
    
<header>
    <h2>
    _
    </h2>
    
</header>  

<article>
    <div class="container-overview">
    
    
    
        
<dt>
    <h4 class="name" id="_"><span class="type-signature"></span>new _</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates a <code>lodash</code> object, which wraps the given <code>value</code>, to enable method
chaining.</p>

<p>In addition to Lo-Dash methods, wrappers also have the following <code>Array</code> methods:
<code>concat</code>, <code>join</code>, <code>pop</code>, <code>push</code>, <code>reverse</code>, <code>shift</code>, <code>slice</code>, <code>sort</code>, <code>splice</code>,
and <code>unshift</code></p>

<p>Chaining is supported in custom builds as long as the <code>value</code> method is
implicitly or explicitly included in the build.</p>

<p>The chainable wrapper functions are:
<code>after</code>, <code>assign</code>, <code>bind</code>, <code>bindAll</code>, <code>bindKey</code>, <code>chain</code>, <code>compact</code>,
<code>compose</code>, <code>concat</code>, <code>countBy</code>, <code>createCallback</code>, <code>debounce</code>, <code>defaults</code>,
<code>defer</code>, <code>delay</code>, <code>difference</code>, <code>filter</code>, <code>flatten</code>, <code>forEach</code>, <code>forIn</code>,
<code>forOwn</code>, <code>functions</code>, <code>groupBy</code>, <code>initial</code>, <code>intersection</code>, <code>invert</code>,
<code>invoke</code>, <code>keys</code>, <code>map</code>, <code>max</code>, <code>memoize</code>, <code>merge</code>, <code>min</code>, <code>object</code>, <code>omit</code>,
<code>once</code>, <code>pairs</code>, <code>partial</code>, <code>partialRight</code>, <code>pick</code>, <code>pluck</code>, <code>push</code>, <code>range</code>,
<code>reject</code>, <code>rest</code>, <code>reverse</code>, <code>shuffle</code>, <code>slice</code>, <code>sort</code>, <code>sortBy</code>, <code>splice</code>,
<code>tap</code>, <code>throttle</code>, <code>times</code>, <code>toArray</code>, <code>transform</code>, <code>union</code>, <code>uniq</code>, <code>unshift</code>,
<code>unzip</code>, <code>values</code>, <code>where</code>, <code>without</code>, <code>wrap</code>, and <code>zip</code></p>

<p>The non-chainable wrapper functions are:
<code>clone</code>, <code>cloneDeep</code>, <code>contains</code>, <code>escape</code>, <code>every</code>, <code>find</code>, <code>has</code>,
<code>identity</code>, <code>indexOf</code>, <code>isArguments</code>, <code>isArray</code>, <code>isBoolean</code>, <code>isDate</code>,
<code>isElement</code>, <code>isEmpty</code>, <code>isEqual</code>, <code>isFinite</code>, <code>isFunction</code>, <code>isNaN</code>,
<code>isNull</code>, <code>isNumber</code>, <code>isObject</code>, <code>isPlainObject</code>, <code>isRegExp</code>, <code>isString</code>,
<code>isUndefined</code>, <code>join</code>, <code>lastIndexOf</code>, <code>mixin</code>, <code>noConflict</code>, <code>parseInt</code>,
<code>pop</code>, <code>random</code>, <code>reduce</code>, <code>reduceRight</code>, <code>result</code>, <code>shift</code>, <code>size</code>, <code>some</code>,
<code>sortedIndex</code>, <code>runInContext</code>, <code>template</code>, <code>unescape</code>, <code>uniqueId</code>, and <code>value</code></p>

<p>The wrapper functions <code>first</code> and <code>last</code> return wrapped values when <code>n</code> is
passed, otherwise they return unwrapped values.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The value to wrap in a <code>lodash</code> instance.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 531</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns a <code>lodash</code> instance.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Object</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var wrapped = _([1, 2, 3]);

// returns an unwrapped value
wrapped.reduce(function(sum, num) {
  return sum + num;
});
// => 6

// returns a wrapped value
var squares = wrapped.map(function(num) {
  return num * num;
});

_.isArray(squares);
// => false

_.isArray(squares.value());
// => true</code></pre>

    
</dd>

    
    </div>
    
    
    
    
    
    
    
    
    
    
    
    
        <h3 class="subsection-title">Members</h3>
        
        <dl>
            
<dt>
    <h4 class="name" id="defaults"><span class="type-signature">&lt;static> </span>defaults<span class="type-signature"> :Function</span></h4>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>Assigns own enumerable properties of source object(s) to the destination
object for all destination properties that resolve to <code>undefined</code>. Once a
property is set, additional defaults of the same property will be ignored.</p>
    </div>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 1429</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var food = { 'name': 'apple' };
_.defaults(food, { 'name': 'banana', 'type': 'fruit' });
// => { 'name': 'apple', 'type': 'fruit' }</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="extend"><span class="type-signature">&lt;static> </span>extend<span class="type-signature"> :Function</span></h4>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>Assigns own enumerable properties of source object(s) to the destination
object. Subsequent sources will overwrite property assignments of previous
sources. If a <code>callback</code> function is passed, it will be executed to produce
the assigned values. The <code>callback</code> is bound to <code>thisArg</code> and invoked with
two arguments; (objectValue, sourceValue).</p>
    </div>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 1220</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.assign({ 'name': 'moe' }, { 'age': 40 });
// => { 'name': 'moe', 'age': 40 }

var defaults = _.partialRight(_.assign, function(a, b) {
  return typeof a == 'undefined' ? b : a;
});

var food = { 'name': 'apple' };
defaults(food, { 'name': 'banana', 'type': 'fruit' });
// => { 'name': 'apple', 'type': 'fruit' }</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="flatten"><span class="type-signature">&lt;static> </span>flatten<span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>Flattens a nested array (the nesting can be to any depth). If <code>isShallow</code>
is truthy, <code>array</code> will only be flattened a single level. If <code>callback</code>
is passed, each element of <code>array</code> is passed through a <code>callback</code> before
flattening. The <code>callback</code> is bound to <code>thisArg</code> and invoked with three
arguments; (value, index, array).</p>

<p>If a property name is passed for <code>callback</code>, the created "_.pluck" style
callback will return the property value of the given element.</p>

<p>If an object is passed for <code>callback</code>, the created "_.where" style callback
will return <code>true</code> for elements that have the properties of the given object,
else <code>false</code>.</p>
    </div>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 3725</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.flatten([1, [2], [3, [[4]]]]);
// => [1, 2, 3, 4];

_.flatten([1, [2], [3, [[4]]]], true);
// => [1, 2, 3, [[4]]];

var stooges = [
  { 'name': 'curly', 'quotes': ['Oh, a wise guy, eh?', 'Poifect!'] },
  { 'name': 'moe', 'quotes': ['Spread out!', 'You knucklehead!'] }
];

// using "_.pluck" callback shorthand
_.flatten(stooges, 'quotes');
// => ['Oh, a wise guy, eh?', 'Poifect!', 'Spread out!', 'You knucklehead!']</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="forIn"><span class="type-signature">&lt;static> </span>forIn<span class="type-signature"> :Function</span></h4>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>Iterates over <code>object</code>'s own and inherited enumerable properties, executing
the <code>callback</code> for each property. The <code>callback</code> is bound to <code>thisArg</code> and
invoked with three arguments; (value, key, object). Callbacks may exit iteration
early by explicitly returning <code>false</code>.</p>
    </div>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 1492</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>function Dog(name) {
  this.name = name;
}

Dog.prototype.bark = function() {
  alert('Woof, woof!');
};

_.forIn(new Dog('Dagny'), function(value, key) {
  alert(key);
});
// => alerts 'name' and 'bark' (order is not guaranteed)</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="forOwn"><span class="type-signature">&lt;static> </span>forOwn<span class="type-signature"> :Function</span></h4>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>Iterates over an object's own enumerable properties, executing the <code>callback</code>
for each property. The <code>callback</code> is bound to <code>thisArg</code> and invoked with three
arguments; (value, key, object). Callbacks may exit iteration early by explicitly
returning <code>false</code>.</p>
    </div>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 1517</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.forOwn({ '0': 'zero', '1': 'one', 'length': 2 }, function(num, key) {
  alert(key);
});
// => alerts '0', '1', and 'length' (order is not guaranteed)</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="keys"><span class="type-signature">&lt;static> </span>keys<span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>Creates an array composed of the own enumerable property names of <code>object</code>.</p>
    </div>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 1146</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.keys({ 'one': 1, 'two': 2, 'three': 3 });
// => ['one', 'two', 'three'] (order is not guaranteed)</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="parseInt"><span class="type-signature">&lt;static> </span>parseInt<span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>Converts the given <code>value</code> into an integer of the specified <code>radix</code>.
If <code>radix</code> is <code>undefined</code> or <code>0</code>, a <code>radix</code> of <code>10</code> is used unless the
<code>value</code> is a hexadecimal, in which case a <code>radix</code> of <code>16</code> is used.</p>

<p>Note: This method avoids differences in native ES3 and ES5 <code>parseInt</code>
implementations. See <a href='http://es5.github.com/#E'>http://es5.github.com/#E</a>.</p>
    </div>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 5142</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.parseInt('08');
// => 8</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="pluck"><span class="type-signature">&lt;static> </span>pluck<span class="type-signature"> :Function</span></h4>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>Retrieves the value of a specified property from all elements in the <code>collection</code>.</p>
    </div>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 3135</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var stooges = [
  { 'name': 'moe', 'age': 40 },
  { 'name': 'larry', 'age': 50 }
];

_.pluck(stooges, 'name');
// => ['moe', 'larry']</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="support"><span class="type-signature">&lt;static> </span>support<span class="type-signature"> :Object</span></h4>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>An object used to flag environments features.</p>
    </div>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 619</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
</dd>

        
            
<dt>
    <h4 class="name" id="toString"><span class="type-signature">&lt;static> </span>toString<span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>Produces the <code>toString</code> result of the wrapped value.</p>
    </div>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 5498</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_([1, 2, 3]).toString();
// => '1,2,3'</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="unique"><span class="type-signature">&lt;static> </span>unique<span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>Creates a duplicate-value-free version of the <code>array</code> using strict equality
for comparisons, i.e. <code>===</code>. If the <code>array</code> is already sorted, passing <code>true</code>
for <code>isSorted</code> will run a faster algorithm. If <code>callback</code> is passed, each
element of <code>array</code> is passed through the <code>callback</code> before uniqueness is computed.
The <code>callback</code> is bound to <code>thisArg</code> and invoked with three arguments; (value, index, array).</p>

<p>If a property name is passed for <code>callback</code>, the created "_.pluck" style
callback will return the property value of the given element.</p>

<p>If an object is passed for <code>callback</code>, the created "_.where" style callback
will return <code>true</code> for elements that have the properties of the given object,
else <code>false</code>.</p>
    </div>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 4279</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.uniq([1, 2, 1, 3, 1]);
// => [1, 2, 3]

_.uniq([1, 1, 2, 2, 3], true);
// => [1, 2, 3]

_.uniq(['A', 'b', 'C', 'a', 'B', 'c'], function(letter) { return letter.toLowerCase(); });
// => ['A', 'b', 'C']

_.uniq([1, 2.5, 3, 1.5, 2, 3.5], function(num) { return this.floor(num); }, Math);
// => [1, 2.5, 3]

// using "_.pluck" callback shorthand
_.uniq([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');
// => [{ 'x': 1 }, { 'x': 2 }]</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="valueOf"><span class="type-signature">&lt;static> </span>valueOf<span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>Extracts the wrapped value.</p>
    </div>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 5514</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_([1, 2, 3]).valueOf();
// => [1, 2, 3]</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="where"><span class="type-signature">&lt;static> </span>where<span class="type-signature"> :Function</span></h4>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>Examines each element in a <code>collection</code>, returning an array of all elements
that have the given <code>properties</code>. When checking <code>properties</code>, this method
performs a deep comparison between values to determine if they are equivalent
to each other.</p>
    </div>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 3495</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var stooges = [
  { 'name': 'moe', 'age': 40 },
  { 'name': 'larry', 'age': 50 }
];

_.where(stooges, { 'age': 40 });
// => [{ 'name': 'moe', 'age': 40 }]</code></pre>

    
</dd>

        </dl>
    
    
    
        <h3 class="subsection-title">Methods</h3>
        
        <dl>
            
<dt>
    <h4 class="name" id="after"><span class="type-signature">&lt;static> </span>after</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>If <code>n</code> is greater than <code>0</code>, a function is created that is restricted to
executing <code>func</code>, with the <code>this</code> binding and arguments of the created
function, only after it is called <code>n</code> times. If <code>n</code> is less than <code>1</code>,
<code>func</code> is executed immediately, without a <code>this</code> binding or additional
arguments, and its result is returned.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>n</code></td>
            
            
            <td class="type">
            
                        Number
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The number of times the function must be called before
it is executed.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>func</code></td>
            
            
            <td class="type">
            
                        Function
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The function to restrict.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 4443</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the new restricted function.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Function</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var renderNotes = _.after(notes.length, render);
_.forEach(notes, function(note) {
  note.asyncSave({ 'success': renderNotes });
});
// `renderNotes` is run once, after all notes have saved</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="all"><span class="type-signature">&lt;static> </span>all</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Checks if the <code>callback</code> returns a truthy value for <strong>all</strong> elements of a
<code>collection</code>. The <code>callback</code> is bound to <code>thisArg</code> and invoked with three
arguments; (value, index|key, collection).</p>

<p>If a property name is passed for <code>callback</code>, the created "_.pluck" style
callback will return the property value of the given element.</p>

<p>If an object is passed for <code>callback</code>, the created "_.where" style callback
will return <code>true</code> for elements that have the properties of the given object,
else <code>false</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>collection</code></td>
            
            
            <td class="type">
            
                        Array
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The collection to iterate over.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback</code></td>
            
            
            <td class="type">
            
                        Function
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    identity
                
                </td>
            
            
            <td class="description last"><p>The function called per
 iteration. If a property name or object is passed, it will be used to create
 a "<em>.pluck" or "</em>.where" style callback, respectively.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 2649</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns <code>true</code> if all elements pass the callback check,
 else <code>false</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Boolean</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.every([true, 1, null, 'yes'], Boolean);
// => false

var stooges = [
  { 'name': 'moe', 'age': 40 },
  { 'name': 'larry', 'age': 50 }
];

// using "_.pluck" callback shorthand
_.every(stooges, 'age');
// => true

// using "_.where" callback shorthand
_.every(stooges, { 'age': 50 });
// => false</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="any"><span class="type-signature">&lt;static> </span>any</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Checks if the <code>callback</code> returns a truthy value for <strong>any</strong> element of a
<code>collection</code>. The function returns as soon as it finds passing value, and
does not iterate over the entire <code>collection</code>. The <code>callback</code> is bound to
<code>thisArg</code> and invoked with three arguments; (value, index|key, collection).</p>

<p>If a property name is passed for <code>callback</code>, the created "_.pluck" style
callback will return the property value of the given element.</p>

<p>If an object is passed for <code>callback</code>, the created "_.where" style callback
will return <code>true</code> for elements that have the properties of the given object,
else <code>false</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>collection</code></td>
            
            
            <td class="type">
            
                        Array
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The collection to iterate over.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback</code></td>
            
            
            <td class="type">
            
                        Function
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    identity
                
                </td>
            
            
            <td class="description last"><p>The function called per
 iteration. If a property name or object is passed, it will be used to create
 a "<em>.pluck" or "</em>.where" style callback, respectively.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 3371</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns <code>true</code> if any element passes the callback check,
 else <code>false</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Boolean</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.some([null, 0, 'yes', false], Boolean);
// => true

var food = [
  { 'name': 'apple',  'organic': false, 'type': 'fruit' },
  { 'name': 'carrot', 'organic': true,  'type': 'vegetable' }
];

// using "_.pluck" callback shorthand
_.some(food, 'organic');
// => true

// using "_.where" callback shorthand
_.some(food, { 'type': 'meat' });
// => false</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="at"><span class="type-signature">&lt;static> </span>at</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates an array of elements from the specified indexes, or keys, of the
<code>collection</code>. Indexes may be specified as individual arguments or as arrays
of indexes.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>collection</code></td>
            
            
            <td class="type">
            
                        Array
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The collection to iterate over.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>index1, index2, ...</code></td>
            
            
            <td class="type">
            
                        Array
                         | 
                    
                        Number
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The indexes of
 <code>collection</code> to retrieve, either as individual arguments or arrays.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 2500</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns a new array of elements corresponding to the
 provided indexes.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Array</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.at(['a', 'b', 'c', 'd', 'e'], [0, 2, 4]);
// => ['a', 'c', 'e']

_.at(['moe', 'larry', 'curly'], 0, 2);
// => ['moe', 'curly']</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="bind"><span class="type-signature">&lt;static> </span>bind</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates a function that, when called, invokes <code>func</code> with the <code>this</code>
binding of <code>thisArg</code> and prepends any additional <code>bind</code> arguments to those
passed to the bound function.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>func</code></td>
            
            
            <td class="type">
            
                        Function
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The function to bind.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>func</code>.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>arg1, arg2, ...</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>Arguments to be partially applied.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 4476</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the new bound function.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Function</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var func = function(greeting) {
  return greeting + ' ' + this.name;
};

func = _.bind(func, { 'name': 'moe' }, 'hi');
func();
// => 'hi moe'</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="bindAll"><span class="type-signature">&lt;static> </span>bindAll</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Binds methods on <code>object</code> to <code>object</code>, overwriting the existing method.
Method names may be specified as individual arguments or as arrays of method
names. If no method names are provided, all the function properties of <code>object</code>
will be bound.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>object</code></td>
            
            
            <td class="type">
            
                        Object
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The object to bind and assign the bound methods to.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>methodName1, methodName2, ...</code></td>
            
            
            <td class="type">
            
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>Method names on the object to bind.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 4502</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns <code>object</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Object</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var view = {
 'label': 'docs',
 'onClick': function() { alert('clicked ' + this.label); }
};

_.bindAll(view);
jQuery('#docs').on('click', view.onClick);
// => alerts 'clicked docs', when the button is clicked</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="bindKey"><span class="type-signature">&lt;static> </span>bindKey</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates a function that, when called, invokes the method at <code>object[key]</code>
and prepends any additional <code>bindKey</code> arguments to those passed to the bound
function. This method differs from <code>_.bind</code> by allowing bound functions to
reference methods that will be redefined or don't yet exist.
See <a href='http://michaux.ca/articles/lazy-function-definition-pattern'>http://michaux.ca/articles/lazy-function-definition-pattern</a>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>object</code></td>
            
            
            <td class="type">
            
                        Object
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The object the method belongs to.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>key</code></td>
            
            
            <td class="type">
            
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The key of the method.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>arg1, arg2, ...</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>Arguments to be partially applied.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 4548</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the new bound function.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Function</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var object = {
  'name': 'moe',
  'greet': function(greeting) {
    return greeting + ' ' + this.name;
  }
};

var func = _.bindKey(object, 'greet', 'hi');
func();
// => 'hi moe'

object.greet = function(greeting) {
  return greeting + ', ' + this.name + '!';
};

func();
// => 'hi, moe!'</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="clone"><span class="type-signature">&lt;static> </span>clone</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates a clone of <code>value</code>. If <code>deep</code> is <code>true</code>, nested objects will also
be cloned, otherwise they will be assigned by reference. If a <code>callback</code>
function is passed, it will be executed to produce the cloned values. If
<code>callback</code> returns <code>undefined</code>, cloning will be handled by the method instead.
The <code>callback</code> is bound to <code>thisArg</code> and invoked with one argument; (value).</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The value to clone.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>deep</code></td>
            
            
            <td class="type">
            
                        Boolean
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    false
                
                </td>
            
            
            <td class="description last"><p>A flag to indicate a deep clone.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback</code></td>
            
            
            <td class="type">
            
                        Function
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The function to customize cloning values.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 1275</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the cloned <code>value</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Mixed</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var stooges = [
  { 'name': 'moe', 'age': 40 },
  { 'name': 'larry', 'age': 50 }
];

var shallow = _.clone(stooges);
shallow[0] === stooges[0];
// => true

var deep = _.clone(stooges, true);
deep[0] === stooges[0];
// => false

_.mixin({
  'clone': _.partialRight(_.clone, function(value) {
    return _.isElement(value) ? value.cloneNode(false) : undefined;
  })
});

var clone = _.clone(document.body);
clone.childNodes.length;
// => 0</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="cloneDeep"><span class="type-signature">&lt;static> </span>cloneDeep</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates a deep clone of <code>value</code>. If a <code>callback</code> function is passed,
it will be executed to produce the cloned values. If <code>callback</code> returns
<code>undefined</code>, cloning will be handled by the method instead. The <code>callback</code>
is bound to <code>thisArg</code> and invoked with one argument; (value).</p>

<p>Note: This method is loosely based on the structured clone algorithm. Functions
and DOM nodes are <strong>not</strong> cloned. The enumerable properties of <code>arguments</code> objects and
objects created by constructors other than <code>Object</code> are cloned to plain <code>Object</code> objects.
See <a href='http://www.w3.org/TR/html5/infrastructure.html#internal-structured-cloning-algorithm'>http://www.w3.org/TR/html5/infrastructure.html#internal-structured-cloning-algorithm</a>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The value to deep clone.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback</code></td>
            
            
            <td class="type">
            
                        Function
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The function to customize cloning values.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 1405</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the deep cloned <code>value</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Mixed</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var stooges = [
  { 'name': 'moe', 'age': 40 },
  { 'name': 'larry', 'age': 50 }
];

var deep = _.cloneDeep(stooges);
deep[0] === stooges[0];
// => false

var view = {
  'label': 'docs',
  'node': element
};

var clone = _.cloneDeep(view, function(value) {
  return _.isElement(value) ? value.cloneNode(true) : undefined;
});

clone.node == view.node;
// => false</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="collect"><span class="type-signature">&lt;static> </span>collect</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates an array of values by running each element in the <code>collection</code>
through the <code>callback</code>. The <code>callback</code> is bound to <code>thisArg</code> and invoked with
three arguments; (value, index|key, collection).</p>

<p>If a property name is passed for <code>callback</code>, the created "_.pluck" style
callback will return the property value of the given element.</p>

<p>If an object is passed for <code>callback</code>, the created "_.where" style callback
will return <code>true</code> for elements that have the properties of the given object,
else <code>false</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>collection</code></td>
            
            
            <td class="type">
            
                        Array
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The collection to iterate over.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback</code></td>
            
            
            <td class="type">
            
                        Function
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    identity
                
                </td>
            
            
            <td class="description last"><p>The function called per
 iteration. If a property name or object is passed, it will be used to create
 a "<em>.pluck" or "</em>.where" style callback, respectively.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 2959</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns a new array of the results of each <code>callback</code> execution.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Array</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.map([1, 2, 3], function(num) { return num * 3; });
// => [3, 6, 9]

_.map({ 'one': 1, 'two': 2, 'three': 3 }, function(num) { return num * 3; });
// => [3, 6, 9] (order is not guaranteed)

var stooges = [
  { 'name': 'moe', 'age': 40 },
  { 'name': 'larry', 'age': 50 }
];

// using "_.pluck" callback shorthand
_.map(stooges, 'name');
// => ['moe', 'larry']</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="compact"><span class="type-signature">&lt;static> </span>compact</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates an array with all falsey values of <code>array</code> removed. The values
<code>false</code>, <code>null</code>, <code>0</code>, <code>""</code>, <code>undefined</code> and <code>NaN</code> are all falsey.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>array</code></td>
            
            
            <td class="type">
            
                        Array
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The array to compact.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 3513</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns a new filtered array.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Array</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.compact([0, 1, false, 2, '', 3]);
// => [1, 2, 3]</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="compose"><span class="type-signature">&lt;static> </span>compose</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates a function that is the composition of the passed functions,
where each function consumes the return value of the function that follows.
For example, composing the functions <code>f()</code>, <code>g()</code>, and <code>h()</code> produces <code>f(g(h()))</code>.
Each function is executed with the <code>this</code> binding of the composed function.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>func1, func2, ...</code></td>
            
            
            <td class="type">
            
                        Function
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>Functions to compose.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 4571</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the new composed function.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Function</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var greet = function(name) { return 'hi ' + name; };
var exclaim = function(statement) { return statement + '!'; };
var welcome = _.compose(exclaim, greet);
welcome('moe');
// => 'hi moe!'</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="countBy"><span class="type-signature">&lt;static> </span>countBy</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates an object composed of keys returned from running each element of the
<code>collection</code> through the given <code>callback</code>. The corresponding value of each key
is the number of times the key was returned by the <code>callback</code>. The <code>callback</code>
is bound to <code>thisArg</code> and invoked with three arguments; (value, index|key, collection).</p>

<p>If a property name is passed for <code>callback</code>, the created "_.pluck" style
callback will return the property value of the given element.</p>

<p>If an object is passed for <code>callback</code>, the created "_.where" style callback
will return <code>true</code> for elements that have the properties of the given object,
else <code>false</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>collection</code></td>
            
            
            <td class="type">
            
                        Array
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The collection to iterate over.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback</code></td>
            
            
            <td class="type">
            
                        Function
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    identity
                
                </td>
            
            
            <td class="description last"><p>The function called per
 iteration. If a property name or object is passed, it will be used to create
 a "<em>.pluck" or "</em>.where" style callback, respectively.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 2597</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the composed aggregate object.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Object</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.countBy([4.3, 6.1, 6.4], function(num) { return Math.floor(num); });
// => { '4': 1, '6': 2 }

_.countBy([4.3, 6.1, 6.4], function(num) { return this.floor(num); }, Math);
// => { '4': 1, '6': 2 }

_.countBy(['one', 'two', 'three'], 'length');
// => { '3': 2, '5': 1 }</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="createCallback"><span class="type-signature">&lt;static> </span>createCallback</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Produces a callback bound to an optional <code>thisArg</code>. If <code>func</code> is a property
name, the created callback will return the property value for a given element.
If <code>func</code> is an object, the created callback will return <code>true</code> for elements
that contain the equivalent object properties, otherwise it will return <code>false</code>.</p>

<p>Note: All Lo-Dash methods, that accept a <code>callback</code> argument, use <code>_.createCallback</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>func</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    identity
                
                </td>
            
            
            <td class="description last"><p>The value to convert to a callback.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The <code>this</code> binding of the created callback.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>argCount</code></td>
            
            
            <td class="type">
            
                        Number
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    3
                
                </td>
            
            
            <td class="description last"><p>The number of arguments the callback accepts.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 4630</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns a callback function.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Function</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var stooges = [
  { 'name': 'moe', 'age': 40 },
  { 'name': 'larry', 'age': 50 }
];

// wrap to create custom callback shorthands
_.createCallback = _.wrap(_.createCallback, function(func, callback, thisArg) {
  var match = /^(.+?)__([gl]t)(.+)$/.exec(callback);
  return !match ? func(callback, thisArg) : function(object) {
    return match[2] == 'gt' ? object[match[1]] > match[3] : object[match[1]] < match[3];
  };
});

_.filter(stooges, 'age__gt45');
// => [{ 'name': 'larry', 'age': 50 }]

// create mixins with support for "_.pluck" and "_.where" callback shorthands
_.mixin({
  'toLookup': function(collection, callback, thisArg) {
    callback = _.createCallback(callback, thisArg);
    return _.reduce(collection, function(result, value, index, collection) {
      return (result[callback(value, index, collection)] = value, result);
    }, {});
  }
});

_.toLookup(stooges, 'name');
// => { 'moe': { 'name': 'moe', 'age': 40 }, 'larry': { 'name': 'larry', 'age': 50 } }</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="debounce"><span class="type-signature">&lt;static> </span>debounce</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates a function that will delay the execution of <code>func</code> until after
<code>wait</code> milliseconds have elapsed since the last time it was invoked. Pass
an <code>options</code> object to indicate that <code>func</code> should be invoked on the leading
and/or trailing edge of the <code>wait</code> timeout. Subsequent calls to the debounced
function will return the result of the last <code>func</code> call.</p>

<p>Note: If <code>leading</code> and <code>trailing</code> options are <code>true</code>, <code>func</code> will be called
on the trailing edge of the timeout only if the the debounced function is
invoked more than once during the <code>wait</code> timeout.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>func</code></td>
            
            
            <td class="type">
            
                        Function
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The function to debounce.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>wait</code></td>
            
            
            <td class="type">
            
                        Number
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The number of milliseconds to delay.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>options</code></td>
            
            
            <td class="type">
            
                        Object
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The options object.
 [leading=false] A boolean to specify execution on the leading edge of the timeout.
 [maxWait] The maximum time <code>func</code> is allowed to be delayed before it's called.
 [trailing=true] A boolean to specify execution on the trailing edge of the timeout.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 4707</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the new debounced function.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Function</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var lazyLayout = _.debounce(calculateLayout, 300);
jQuery(window).on('resize', lazyLayout);

jQuery('#postbox').on('click', _.debounce(sendMail, 200, {
  'leading': true,
  'trailing': false
});</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="defer"><span class="type-signature">&lt;static> </span>defer</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Defers executing the <code>func</code> function until the current call stack has cleared.
Additional arguments will be passed to <code>func</code> when it is invoked.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>func</code></td>
            
            
            <td class="type">
            
                        Function
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The function to defer.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>arg1, arg2, ...</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>Arguments to invoke the function with.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 4804</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the timer id.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Number</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.defer(function() { alert('deferred'); });
// returns from the function before `alert` is called</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="delay"><span class="type-signature">&lt;static> </span>delay</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Executes the <code>func</code> function after <code>wait</code> milliseconds. Additional arguments
will be passed to <code>func</code> when it is invoked.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>func</code></td>
            
            
            <td class="type">
            
                        Function
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The function to delay.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>wait</code></td>
            
            
            <td class="type">
            
                        Number
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The number of milliseconds to delay execution.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>arg1, arg2, ...</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>Arguments to invoke the function with.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 4826</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the timer id.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Number</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var log = _.bind(console.log, console);
_.delay(log, 1000, 'logged later');
// => 'logged later' (Appears after one second.)</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="detect, findWhere"><span class="type-signature">&lt;static> </span>detect, findWhere</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Examines each element in a <code>collection</code>, returning the first that the <code>callback</code>
returns truthy for. The <code>callback</code> is bound to <code>thisArg</code> and invoked with three
arguments; (value, index|key, collection).</p>

<p>If a property name is passed for <code>callback</code>, the created "_.pluck" style
callback will return the property value of the given element.</p>

<p>If an object is passed for <code>callback</code>, the created "_.where" style callback
will return <code>true</code> for elements that have the properties of the given object,
else <code>false</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>collection</code></td>
            
            
            <td class="type">
            
                        Array
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The collection to iterate over.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback</code></td>
            
            
            <td class="type">
            
                        Function
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    identity
                
                </td>
            
            
            <td class="description last"><p>The function called per
 iteration. If a property name or object is passed, it will be used to create
 a "<em>.pluck" or "</em>.where" style callback, respectively.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 2777</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the found element, else <code>undefined</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Mixed</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.find([1, 2, 3, 4], function(num) {
  return num % 2 == 0;
});
// => 2

var food = [
  { 'name': 'apple',  'organic': false, 'type': 'fruit' },
  { 'name': 'banana', 'organic': true,  'type': 'fruit' },
  { 'name': 'beet',   'organic': false, 'type': 'vegetable' }
];

// using "_.where" callback shorthand
_.find(food, { 'type': 'vegetable' });
// => { 'name': 'beet', 'organic': false, 'type': 'vegetable' }

// using "_.pluck" callback shorthand
_.find(food, 'organic');
// => { 'name': 'banana', 'organic': true, 'type': 'fruit' }</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="difference"><span class="type-signature">&lt;static> </span>difference</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates an array of <code>array</code> elements not present in the other arrays
using strict equality for comparisons, i.e. <code>===</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>array</code></td>
            
            
            <td class="type">
            
                        Array
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The array to process.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>array1, array2, ...</code></td>
            
            
            <td class="type">
            
                        Array
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>Arrays to check.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 3543</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns a new array of <code>array</code> elements not present in the
 other arrays.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Array</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.difference([1, 2, 3, 4, 5], [5, 2, 10]);
// => [1, 3, 4]</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="drop, tail"><span class="type-signature">&lt;static> </span>drop, tail</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>The opposite of <code>_.initial</code>, this method gets all but the first value of
<code>array</code>. If a number <code>n</code> is passed, the first <code>n</code> values are excluded from
the result. If a <code>callback</code> function is passed, elements at the beginning
of the array are excluded from the result as long as the <code>callback</code> returns
truthy. The <code>callback</code> is bound to <code>thisArg</code> and invoked with three
arguments; (value, index, array).</p>

<p>If a property name is passed for <code>callback</code>, the created "_.pluck" style
callback will return the property value of the given element.</p>

<p>If an object is passed for <code>callback</code>, the created "_.where" style callback
will return <code>true</code> for elements that have the properties of the given object,
else <code>false</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>array</code></td>
            
            
            <td class="type">
            
                        Array
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The array to query.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback|n</code></td>
            
            
            <td class="type">
            
                        Function
                         | 
                    
                        Object
                         | 
                    
                        Number
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    1
                
                </td>
            
            
            <td class="description last"><p>The function called
 per element or the number of elements to exclude. If a property name or
 object is passed, it will be used to create a "<em>.pluck" or "</em>.where"
 style callback, respectively.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 4133</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns a slice of <code>array</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Array</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.rest([1, 2, 3]);
// => [2, 3]

_.rest([1, 2, 3], 2);
// => [3]

_.rest([1, 2, 3], function(num) {
  return num < 3;
});
// => [3]

var food = [
  { 'name': 'banana', 'organic': true },
  { 'name': 'beet',   'organic': false },
];

// using "_.pluck" callback shorthand
_.rest(food, 'organic');
// => [{ 'name': 'beet', 'organic': false }]

var food = [
  { 'name': 'apple',  'type': 'fruit' },
  { 'name': 'banana', 'type': 'fruit' },
  { 'name': 'beet',   'type': 'vegetable' }
];

// using "_.where" callback shorthand
_.rest(food, { 'type': 'fruit' });
// => [{ 'name': 'beet', 'type': 'vegetable' }]</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="each"><span class="type-signature">&lt;static> </span>each</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Iterates over a <code>collection</code>, executing the <code>callback</code> for each element in
the <code>collection</code>. The <code>callback</code> is bound to <code>thisArg</code> and invoked with three
arguments; (value, index|key, collection). Callbacks may exit iteration early
by explicitly returning <code>false</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>collection</code></td>
            
            
            <td class="type">
            
                        Array
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The collection to iterate over.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback</code></td>
            
            
            <td class="type">
            
                        Function
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    identity
                
                </td>
            
            
            <td class="description last"><p>The function called per iteration.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 2824</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns <code>collection</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Array</span> |
		
		<span class="param-type">Object</span> |
		
		<span class="param-type">String</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_([1, 2, 3]).forEach(alert).join(',');
// => alerts each number and returns '1,2,3'

_.forEach({ 'one': 1, 'two': 2, 'three': 3 }, alert);
// => alerts each number value (order is not guaranteed)</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="escape"><span class="type-signature">&lt;static> </span>escape</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Converts the characters <code>&amp;</code>, <code>&lt;</code>, <code>&gt;</code>, <code>"</code>, and <code>'</code> in <code>string</code> to their
corresponding HTML entities.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>string</code></td>
            
            
            <td class="type">
            
                        String
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The string to escape.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 5045</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the escaped string.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">String</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.escape('Moe, Larry & Curly');
// => 'Moe, Larry &amp; Curly'</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="findIndex"><span class="type-signature">&lt;static> </span>findIndex</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>This method is similar to <code>_.find</code>, except that it returns the index of
the element that passes the callback check, instead of the element itself.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>array</code></td>
            
            
            <td class="type">
            
                        Array
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The array to search.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback</code></td>
            
            
            <td class="type">
            
                        Function
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    identity
                
                </td>
            
            
            <td class="description last"><p>The function called per
 iteration. If a property name or object is passed, it will be used to create
 a "<em>.pluck" or "</em>.where" style callback, respectively.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 3593</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the index of the found element, else <code>-1</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Mixed</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.findIndex(['apple', 'banana', 'beet'], function(food) {
  return /^b/.test(food);
});
// => 1</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="findKey"><span class="type-signature">&lt;static> </span>findKey</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>This method is similar to <code>_.find</code>, except that it returns the key of the
element that passes the callback check, instead of the element itself.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>object</code></td>
            
            
            <td class="type">
            
                        Object
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The object to search.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback</code></td>
            
            
            <td class="type">
            
                        Function
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    identity
                
                </td>
            
            
            <td class="description last"><p>The function called per
 iteration. If a property name or object is passed, it will be used to create
 a "<em>.pluck" or "</em>.where" style callback, respectively.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 1451</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the key of the found element, else <code>undefined</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Mixed</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.findKey({ 'a': 1, 'b': 2, 'c': 3, 'd': 4 }, function(num) {
  return num % 2 == 0;
});
// => 'b'</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="foldl, inject"><span class="type-signature">&lt;static> </span>foldl, inject</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Reduces a <code>collection</code> to a value which is the accumulated result of running
each element in the <code>collection</code> through the <code>callback</code>, where each successive
<code>callback</code> execution consumes the return value of the previous execution.
If <code>accumulator</code> is not passed, the first element of the <code>collection</code> will be
used as the initial <code>accumulator</code> value. The <code>callback</code> is bound to <code>thisArg</code>
and invoked with four arguments; (accumulator, value, index|key, collection).</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>collection</code></td>
            
            
            <td class="type">
            
                        Array
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The collection to iterate over.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback</code></td>
            
            
            <td class="type">
            
                        Function
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    identity
                
                </td>
            
            
            <td class="description last"><p>The function called per iteration.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>accumulator</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>Initial value of the accumulator.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 3167</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the accumulated value.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Mixed</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var sum = _.reduce([1, 2, 3], function(sum, num) {
  return sum + num;
});
// => 6

var mapped = _.reduce({ 'a': 1, 'b': 2, 'c': 3 }, function(result, num, key) {
  result[key] = num * 3;
  return result;
}, {});
// => { 'a': 3, 'b': 6, 'c': 9 }</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="foldr"><span class="type-signature">&lt;static> </span>foldr</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>This method is similar to <code>_.reduce</code>, except that it iterates over a
<code>collection</code> from right to left.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>collection</code></td>
            
            
            <td class="type">
            
                        Array
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The collection to iterate over.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback</code></td>
            
            
            <td class="type">
            
                        Function
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    identity
                
                </td>
            
            
            <td class="description last"><p>The function called per iteration.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>accumulator</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>Initial value of the accumulator.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 3210</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the accumulated value.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Mixed</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var list = [[0, 1], [2, 3], [4, 5]];
var flat = _.reduceRight(list, function(a, b) { return a.concat(b); }, []);
// => [4, 5, 2, 3, 0, 1]</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="groupBy"><span class="type-signature">&lt;static> </span>groupBy</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates an object composed of keys returned from running each element of the
<code>collection</code> through the <code>callback</code>. The corresponding value of each key is
an array of elements passed to <code>callback</code> that returned the key. The <code>callback</code>
is bound to <code>thisArg</code> and invoked with three arguments; (value, index|key, collection).</p>

<p>If a property name is passed for <code>callback</code>, the created "_.pluck" style
callback will return the property value of the given element.</p>

<p>If an object is passed for <code>callback</code>, the created "_.where" style callback
will return <code>true</code> for elements that have the properties of the given object,
else <code>false</code></p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>collection</code></td>
            
            
            <td class="type">
            
                        Array
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The collection to iterate over.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback</code></td>
            
            
            <td class="type">
            
                        Function
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    identity
                
                </td>
            
            
            <td class="description last"><p>The function called per
 iteration. If a property name or object is passed, it will be used to create
 a "<em>.pluck" or "</em>.where" style callback, respectively.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 2874</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the composed aggregate object.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Object</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.groupBy([4.2, 6.1, 6.4], function(num) { return Math.floor(num); });
// => { '4': [4.2], '6': [6.1, 6.4] }

_.groupBy([4.2, 6.1, 6.4], function(num) { return this.floor(num); }, Math);
// => { '4': [4.2], '6': [6.1, 6.4] }

// using "_.pluck" callback shorthand
_.groupBy(['one', 'two', 'three'], 'length');
// => { '3': ['one', 'two'], '5': ['three'] }</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="has"><span class="type-signature">&lt;static> </span>has</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Checks if the specified object <code>property</code> exists and is a direct property,
instead of an inherited property.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>object</code></td>
            
            
            <td class="type">
            
                        Object
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The object to check.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>property</code></td>
            
            
            <td class="type">
            
                        String
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The property to check for.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 1559</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns <code>true</code> if key is a direct property, else <code>false</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Boolean</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.has({ 'a': 1, 'b': 2, 'c': 3 }, 'b');
// => true</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="head, take"><span class="type-signature">&lt;static> </span>head, take</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Gets the first element of the <code>array</code>. If a number <code>n</code> is passed, the first
<code>n</code> elements of the <code>array</code> are returned. If a <code>callback</code> function is passed,
elements at the beginning of the array are returned as long as the <code>callback</code>
returns truthy. The <code>callback</code> is bound to <code>thisArg</code> and invoked with three
arguments; (value, index, array).</p>

<p>If a property name is passed for <code>callback</code>, the created "_.pluck" style
callback will return the property value of the given element.</p>

<p>If an object is passed for <code>callback</code>, the created "_.where" style callback
will return <code>true</code> for elements that have the properties of the given object,
else <code>false</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>array</code></td>
            
            
            <td class="type">
            
                        Array
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The array to query.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback|n</code></td>
            
            
            <td class="type">
            
                        Function
                         | 
                    
                        Object
                         | 
                    
                        Number
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The function called
 per element or the number of elements to return. If a property name or
 object is passed, it will be used to create a "<em>.pluck" or "</em>.where"
 style callback, respectively.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 3663</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the first element(s) of <code>array</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Mixed</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.first([1, 2, 3]);
// => 1

_.first([1, 2, 3], 2);
// => [1, 2]

_.first([1, 2, 3], function(num) {
  return num < 3;
});
// => [1, 2]

var food = [
  { 'name': 'banana', 'organic': true },
  { 'name': 'beet',   'organic': false },
];

// using "_.pluck" callback shorthand
_.first(food, 'organic');
// => [{ 'name': 'banana', 'organic': true }]

var food = [
  { 'name': 'apple',  'type': 'fruit' },
  { 'name': 'banana', 'type': 'fruit' },
  { 'name': 'beet',   'type': 'vegetable' }
];

// using "_.where" callback shorthand
_.first(food, { 'type': 'fruit' });
// => [{ 'name': 'apple', 'type': 'fruit' }, { 'name': 'banana', 'type': 'fruit' }]</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="identity"><span class="type-signature">&lt;static> </span>identity</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>This method returns the first argument passed to it.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>Any value.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 5063</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns <code>value</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Mixed</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var moe = { 'name': 'moe' };
moe === _.identity(moe);
// => true</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="include"><span class="type-signature">&lt;static> </span>include</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Checks if a given <code>target</code> element is present in a <code>collection</code> using strict
equality for comparisons, i.e. <code>===</code>. If <code>fromIndex</code> is negative, it is used
as the offset from the end of the collection.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>collection</code></td>
            
            
            <td class="type">
            
                        Array
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The collection to iterate over.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>target</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The value to check for.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>fromIndex</code></td>
            
            
            <td class="type">
            
                        Number
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    0
                
                </td>
            
            
            <td class="description last"><p>The index to search from.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 2542</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns <code>true</code> if the <code>target</code> element is found, else <code>false</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Boolean</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.contains([1, 2, 3], 1);
// => true

_.contains([1, 2, 3], 1, 2);
// => false

_.contains({ 'name': 'moe', 'age': 40 }, 'moe');
// => true

_.contains('curly', 'ur');
// => true</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="indexOf"><span class="type-signature">&lt;static> </span>indexOf</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Gets the index at which the first occurrence of <code>value</code> is found using
strict equality for comparisons, i.e. <code>===</code>. If the <code>array</code> is already
sorted, passing <code>true</code> for <code>fromIndex</code> will run a faster binary search.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>array</code></td>
            
            
            <td class="type">
            
                        Array
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The array to search.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The value to search for.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>fromIndex</code></td>
            
            
            <td class="type">
            
                        Boolean
                         | 
                    
                        Number
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    0
                
                </td>
            
            
            <td class="description last"><p>The index to search from or <code>true</code> to
 perform a binary search on a sorted <code>array</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 3769</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the index of the matched value or <code>-1</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Number</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.indexOf([1, 2, 3, 1, 2, 3], 2);
// => 1

_.indexOf([1, 2, 3, 1, 2, 3], 2, 3);
// => 4

_.indexOf([1, 1, 2, 2, 3, 3], 2, true);
// => 2</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initial"><span class="type-signature">&lt;static> </span>initial</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Gets all but the last element of <code>array</code>. If a number <code>n</code> is passed, the
last <code>n</code> elements are excluded from the result. If a <code>callback</code> function
is passed, elements at the end of the array are excluded from the result
as long as the <code>callback</code> returns truthy. The <code>callback</code> is bound to
<code>thisArg</code> and invoked with three arguments; (value, index, array).</p>

<p>If a property name is passed for <code>callback</code>, the created "_.pluck" style
callback will return the property value of the given element.</p>

<p>If an object is passed for <code>callback</code>, the created "_.where" style callback
will return <code>true</code> for elements that have the properties of the given object,
else <code>false</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>array</code></td>
            
            
            <td class="type">
            
                        Array
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The array to query.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback|n</code></td>
            
            
            <td class="type">
            
                        Function
                         | 
                    
                        Object
                         | 
                    
                        Number
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    1
                
                </td>
            
            
            <td class="description last"><p>The function called
 per element or the number of elements to exclude. If a property name or
 object is passed, it will be used to create a "<em>.pluck" or "</em>.where"
 style callback, respectively.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 3836</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns a slice of <code>array</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Array</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.initial([1, 2, 3]);
// => [1, 2]

_.initial([1, 2, 3], 2);
// => [1]

_.initial([1, 2, 3], function(num) {
  return num > 1;
});
// => [1]

var food = [
  { 'name': 'beet',   'organic': false },
  { 'name': 'carrot', 'organic': true }
];

// using "_.pluck" callback shorthand
_.initial(food, 'organic');
// => [{ 'name': 'beet',   'organic': false }]

var food = [
  { 'name': 'banana', 'type': 'fruit' },
  { 'name': 'beet',   'type': 'vegetable' },
  { 'name': 'carrot', 'type': 'vegetable' }
];

// using "_.where" callback shorthand
_.initial(food, { 'type': 'vegetable' });
// => [{ 'name': 'banana', 'type': 'fruit' }]</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="intersection"><span class="type-signature">&lt;static> </span>intersection</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Computes the intersection of all the passed-in arrays using strict equality
for comparisons, i.e. <code>===</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>array1, array2, ...</code></td>
            
            
            <td class="type">
            
                        Array
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>Arrays to process.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 3870</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns a new array of unique elements that are present
 in <strong>all</strong> of the arrays.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Array</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.intersection([1, 2, 3], [101, 2, 1, 10], [2, 1]);
// => [1, 2]</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="invert"><span class="type-signature">&lt;static> </span>invert</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates an object composed of the inverted keys and values of the given <code>object</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>object</code></td>
            
            
            <td class="type">
            
                        Object
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The object to invert.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 1576</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the created inverted object.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Object</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code> _.invert({ 'first': 'moe', 'second': 'larry' });
// => { 'moe': 'first', 'larry': 'second' }</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="invoke"><span class="type-signature">&lt;static> </span>invoke</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Invokes the method named by <code>methodName</code> on each element in the <code>collection</code>,
returning an array of the results of each invoked method. Additional arguments
will be passed to each invoked method. If <code>methodName</code> is a function, it will
be invoked for, and <code>this</code> bound to, each element in the <code>collection</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>collection</code></td>
            
            
            <td class="type">
            
                        Array
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The collection to iterate over.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>methodName</code></td>
            
            
            <td class="type">
            
                        Function
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The name of the method to invoke or
 the function invoked per iteration.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>arg1, arg2, ...</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>Arguments to invoke the method with.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 2907</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns a new array of the results of each invoked method.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Array</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.invoke([[5, 1, 7], [3, 2, 1]], 'sort');
// => [[1, 5, 7], [1, 2, 3]]

_.invoke([123, 456], String.prototype.split, '');
// => [['1', '2', '3'], ['4', '5', '6']]</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="isArguments"><span class="type-signature">&lt;static> </span>isArguments</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Checks if <code>value</code> is an <code>arguments</code> object.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The value to check.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 1109</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns <code>true</code>, if the <code>value</code> is an <code>arguments</code> object, else <code>false</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Boolean</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>(function() { return _.isArguments(arguments); })(1, 2, 3);
// => true

_.isArguments([1, 2, 3]);
// => false</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="isArray"><span class="type-signature">&lt;static> </span>isArray</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Checks if <code>value</code> is an array.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The value to check.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 1129</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns <code>true</code>, if the <code>value</code> is an array, else <code>false</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Boolean</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>(function() { return _.isArray(arguments); })();
// => false

_.isArray([1, 2, 3]);
// => true</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="isBoolean"><span class="type-signature">&lt;static> </span>isBoolean</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Checks if <code>value</code> is a boolean value.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The value to check.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 1602</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns <code>true</code>, if the <code>value</code> is a boolean value, else <code>false</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Boolean</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.isBoolean(null);
// => false</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="isDate"><span class="type-signature">&lt;static> </span>isDate</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Checks if <code>value</code> is a date.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The value to check.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 1619</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns <code>true</code>, if the <code>value</code> is a date, else <code>false</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Boolean</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.isDate(new Date);
// => true</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="isElement"><span class="type-signature">&lt;static> </span>isElement</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Checks if <code>value</code> is a DOM element.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The value to check.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 1636</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns <code>true</code>, if the <code>value</code> is a DOM element, else <code>false</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Boolean</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.isElement(document.body);
// => true</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="isEmpty"><span class="type-signature">&lt;static> </span>isEmpty</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Checks if <code>value</code> is empty. Arrays, strings, or <code>arguments</code> objects with a
length of <code>0</code> and objects with no own enumerable properties are considered
"empty".</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Array
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The value to inspect.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 1661</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns <code>true</code>, if the <code>value</code> is empty, else <code>false</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Boolean</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.isEmpty([1, 2, 3]);
// => false

_.isEmpty({});
// => true

_.isEmpty('');
// => true</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="isEqual"><span class="type-signature">&lt;static> </span>isEqual</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Performs a deep comparison between two values to determine if they are
equivalent to each other. If <code>callback</code> is passed, it will be executed to
compare values. If <code>callback</code> returns <code>undefined</code>, comparisons will be handled
by the method instead. The <code>callback</code> is bound to <code>thisArg</code> and invoked with
two arguments; (a, b).</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>a</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The value to compare.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>b</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The other value to compare.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback</code></td>
            
            
            <td class="type">
            
                        Function
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The function to customize comparing values.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 1720</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns <code>true</code>, if the values are equivalent, else <code>false</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Boolean</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var moe = { 'name': 'moe', 'age': 40 };
var copy = { 'name': 'moe', 'age': 40 };

moe == copy;
// => false

_.isEqual(moe, copy);
// => true

var words = ['hello', 'goodbye'];
var otherWords = ['hi', 'goodbye'];

_.isEqual(words, otherWords, function(a, b) {
  var reGreet = /^(?:hello|hi)$/i,
      aGreet = _.isString(a) && reGreet.test(a),
      bGreet = _.isString(b) && reGreet.test(b);

  return (aGreet || bGreet) ? (aGreet == bGreet) : undefined;
});
// => true</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="isFinite"><span class="type-signature">&lt;static> </span>isFinite</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Checks if <code>value</code> is, or can be coerced to, a finite number.</p>

<p>Note: This is not the same as native <code>isFinite</code>, which will return true for
booleans and empty strings. See <a href='http://es5.github.com/#x15.1.2.5'>http://es5.github.com/#x15.1.2.5</a>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The value to check.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 1906</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns <code>true</code>, if the <code>value</code> is finite, else <code>false</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Boolean</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.isFinite(-101);
// => true

_.isFinite('10');
// => true

_.isFinite(true);
// => false

_.isFinite('');
// => false

_.isFinite(Infinity);
// => false</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="isFunction"><span class="type-signature">&lt;static> </span>isFunction</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Checks if <code>value</code> is a function.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The value to check.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 1923</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns <code>true</code>, if the <code>value</code> is a function, else <code>false</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Boolean</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.isFunction(_);
// => true</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="isNaN"><span class="type-signature">&lt;static> </span>isNaN</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Checks if <code>value</code> is <code>NaN</code>.</p>

<p>Note: This is not the same as native <code>isNaN</code>, which will return <code>true</code> for
<code>undefined</code> and other values. See <a href='http://es5.github.com/#x15.1.2.4'>http://es5.github.com/#x15.1.2.4</a>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The value to check.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 1986</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns <code>true</code>, if the <code>value</code> is <code>NaN</code>, else <code>false</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Boolean</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.isNaN(NaN);
// => true

_.isNaN(new Number(NaN));
// => true

isNaN(undefined);
// => true

_.isNaN(undefined);
// => false</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="isNull"><span class="type-signature">&lt;static> </span>isNull</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Checks if <code>value</code> is <code>null</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The value to check.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 2008</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns <code>true</code>, if the <code>value</code> is <code>null</code>, else <code>false</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Boolean</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.isNull(null);
// => true

_.isNull(undefined);
// => false</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="isNumber"><span class="type-signature">&lt;static> </span>isNumber</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Checks if <code>value</code> is a number.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The value to check.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 2025</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns <code>true</code>, if the <code>value</code> is a number, else <code>false</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Boolean</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.isNumber(8.4 * 5);
// => true</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="isObject"><span class="type-signature">&lt;static> </span>isObject</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Checks if <code>value</code> is the language type of Object.
(e.g. arrays, functions, objects, regexes, <code>new Number(0)</code>, and <code>new String('')</code>)</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The value to check.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 1953</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns <code>true</code>, if the <code>value</code> is an object, else <code>false</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Boolean</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.isObject({});
// => true

_.isObject([1, 2, 3]);
// => true

_.isObject(1);
// => false</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="isPlainObject"><span class="type-signature">&lt;static> </span>isPlainObject</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Checks if a given <code>value</code> is an object created by the <code>Object</code> constructor.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The value to check.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 2053</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns <code>true</code>, if <code>value</code> is a plain object, else <code>false</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Boolean</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>function Stooge(name, age) {
  this.name = name;
  this.age = age;
}

_.isPlainObject(new Stooge('moe', 40));
// => false

_.isPlainObject([1, 2, 3]);
// => false

_.isPlainObject({ 'name': 'moe', 'age': 40 });
// => true</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="isRegExp"><span class="type-signature">&lt;static> </span>isRegExp</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Checks if <code>value</code> is a regular expression.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The value to check.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 2096</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns <code>true</code>, if the <code>value</code> is a regular expression, else <code>false</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Boolean</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.isRegExp(/moe/);
// => true</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="isString"><span class="type-signature">&lt;static> </span>isString</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Checks if <code>value</code> is a string.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The value to check.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 2113</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns <code>true</code>, if the <code>value</code> is a string, else <code>false</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Boolean</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.isString('moe');
// => true</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="isUndefined"><span class="type-signature">&lt;static> </span>isUndefined</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Checks if <code>value</code> is <code>undefined</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The value to check.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 2130</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns <code>true</code>, if the <code>value</code> is <code>undefined</code>, else <code>false</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Boolean</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.isUndefined(void 0);
// => true</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="last"><span class="type-signature">&lt;static> </span>last</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Gets the last element of the <code>array</code>. If a number <code>n</code> is passed, the
last <code>n</code> elements of the <code>array</code> are returned. If a <code>callback</code> function
is passed, elements at the end of the array are returned as long as the
<code>callback</code> returns truthy. The <code>callback</code> is bound to <code>thisArg</code> and
invoked with three arguments;(value, index, array).</p>

<p>If a property name is passed for <code>callback</code>, the created "_.pluck" style
callback will return the property value of the given element.</p>

<p>If an object is passed for <code>callback</code>, the created "_.where" style callback
will return <code>true</code> for elements that have the properties of the given object,
else <code>false</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>array</code></td>
            
            
            <td class="type">
            
                        Array
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The array to query.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback|n</code></td>
            
            
            <td class="type">
            
                        Function
                         | 
                    
                        Object
                         | 
                    
                        Number
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The function called
 per element or the number of elements to return. If a property name or
 object is passed, it will be used to create a "<em>.pluck" or "</em>.where"
 style callback, respectively.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 3972</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the last element(s) of <code>array</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Mixed</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.last([1, 2, 3]);
// => 3

_.last([1, 2, 3], 2);
// => [2, 3]

_.last([1, 2, 3], function(num) {
  return num > 1;
});
// => [2, 3]

var food = [
  { 'name': 'beet',   'organic': false },
  { 'name': 'carrot', 'organic': true }
];

// using "_.pluck" callback shorthand
_.last(food, 'organic');
// => [{ 'name': 'carrot', 'organic': true }]

var food = [
  { 'name': 'banana', 'type': 'fruit' },
  { 'name': 'beet',   'type': 'vegetable' },
  { 'name': 'carrot', 'type': 'vegetable' }
];

// using "_.where" callback shorthand
_.last(food, { 'type': 'vegetable' });
// => [{ 'name': 'beet', 'type': 'vegetable' }, { 'name': 'carrot', 'type': 'vegetable' }]</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="lastIndexOf"><span class="type-signature">&lt;static> </span>lastIndexOf</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Gets the index at which the last occurrence of <code>value</code> is found using strict
equality for comparisons, i.e. <code>===</code>. If <code>fromIndex</code> is negative, it is used
as the offset from the end of the collection.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>array</code></td>
            
            
            <td class="type">
            
                        Array
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The array to search.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The value to search for.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>fromIndex</code></td>
            
            
            <td class="type">
            
                        Number
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    array.length-1
                
                </td>
            
            
            <td class="description last"><p>The index to search from.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 4013</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the index of the matched value or <code>-1</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Number</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.lastIndexOf([1, 2, 3, 1, 2, 3], 2);
// => 4

_.lastIndexOf([1, 2, 3, 1, 2, 3], 2, 3);
// => 1</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="max"><span class="type-signature">&lt;static> </span>max</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Retrieves the maximum value of an <code>array</code>. If <code>callback</code> is passed,
it will be executed for each value in the <code>array</code> to generate the
criterion by which the value is ranked. The <code>callback</code> is bound to
<code>thisArg</code> and invoked with three arguments; (value, index, collection).</p>

<p>If a property name is passed for <code>callback</code>, the created "_.pluck" style
callback will return the property value of the given element.</p>

<p>If an object is passed for <code>callback</code>, the created "_.where" style callback
will return <code>true</code> for elements that have the properties of the given object,
else <code>false</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>collection</code></td>
            
            
            <td class="type">
            
                        Array
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The collection to iterate over.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback</code></td>
            
            
            <td class="type">
            
                        Function
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    identity
                
                </td>
            
            
            <td class="description last"><p>The function called per
 iteration. If a property name or object is passed, it will be used to create
 a "<em>.pluck" or "</em>.where" style callback, respectively.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 3016</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the maximum value.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Mixed</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.max([4, 2, 8, 6]);
// => 8

var stooges = [
  { 'name': 'moe', 'age': 40 },
  { 'name': 'larry', 'age': 50 }
];

_.max(stooges, function(stooge) { return stooge.age; });
// => { 'name': 'larry', 'age': 50 };

// using "_.pluck" callback shorthand
_.max(stooges, 'age');
// => { 'name': 'larry', 'age': 50 };</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="memoize"><span class="type-signature">&lt;static> </span>memoize</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates a function that memoizes the result of <code>func</code>. If <code>resolver</code> is
passed, it will be used to determine the cache key for storing the result
based on the arguments passed to the memoized function. By default, the first
argument passed to the memoized function is used as the cache key. The <code>func</code>
is executed with the <code>this</code> binding of the memoized function. The result
cache is exposed as the <code>cache</code> property on the memoized function.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>func</code></td>
            
            
            <td class="type">
            
                        Function
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The function to have its output memoized.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>resolver</code></td>
            
            
            <td class="type">
            
                        Function
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>A function used to resolve the cache key.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 4851</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the new memoizing function.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Function</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var fibonacci = _.memoize(function(n) {
  return n < 2 ? n : fibonacci(n - 1) + fibonacci(n - 2);
});</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="merge"><span class="type-signature">&lt;static> </span>merge</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Recursively merges own enumerable properties of the source object(s), that
don't resolve to <code>undefined</code>, into the destination object. Subsequent sources
will overwrite property assignments of previous sources. If a <code>callback</code> function
is passed, it will be executed to produce the merged values of the destination
and source properties. If <code>callback</code> returns <code>undefined</code>, merging will be
handled by the method instead. The <code>callback</code> is bound to <code>thisArg</code> and
invoked with two arguments; (objectValue, sourceValue).</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>object</code></td>
            
            
            <td class="type">
            
                        Object
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The destination object.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>source1, source2, ...</code></td>
            
            
            <td class="type">
            
                        Object
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The source objects.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback</code></td>
            
            
            <td class="type">
            
                        Function
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The function to customize merging properties.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 2189</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the destination object.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Object</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var names = {
  'stooges': [
    { 'name': 'moe' },
    { 'name': 'larry' }
  ]
};

var ages = {
  'stooges': [
    { 'age': 40 },
    { 'age': 50 }
  ]
};

_.merge(names, ages);
// => { 'stooges': [{ 'name': 'moe', 'age': 40 }, { 'name': 'larry', 'age': 50 }] }

var food = {
  'fruits': ['apple'],
  'vegetables': ['beet']
};

var otherFood = {
  'fruits': ['banana'],
  'vegetables': ['carrot']
};

_.merge(food, otherFood, function(a, b) {
  return _.isArray(a) ? a.concat(b) : undefined;
});
// => { 'fruits': ['apple', 'banana'], 'vegetables': ['beet', 'carrot] }</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="methods"><span class="type-signature">&lt;static> </span>methods</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates a sorted array of all enumerable properties, own and inherited,
of <code>object</code> that have function values.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>object</code></td>
            
            
            <td class="type">
            
                        Object
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The object to inspect.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 1534</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns a new array of property names that have function values.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Array</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.functions(_);
// => ['all', 'any', 'bind', 'bindAll', 'clone', 'compact', 'compose', ...]</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="min"><span class="type-signature">&lt;static> </span>min</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Retrieves the minimum value of an <code>array</code>. If <code>callback</code> is passed,
it will be executed for each value in the <code>array</code> to generate the
criterion by which the value is ranked. The <code>callback</code> is bound to <code>thisArg</code>
and invoked with three arguments; (value, index, collection).</p>

<p>If a property name is passed for <code>callback</code>, the created "_.pluck" style
callback will return the property value of the given element.</p>

<p>If an object is passed for <code>callback</code>, the created "_.where" style callback
will return <code>true</code> for elements that have the properties of the given object,
else <code>false</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>collection</code></td>
            
            
            <td class="type">
            
                        Array
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The collection to iterate over.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback</code></td>
            
            
            <td class="type">
            
                        Function
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    identity
                
                </td>
            
            
            <td class="description last"><p>The function called per
 iteration. If a property name or object is passed, it will be used to create
 a "<em>.pluck" or "</em>.where" style callback, respectively.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 3085</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the minimum value.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Mixed</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.min([4, 2, 8, 6]);
// => 2

var stooges = [
  { 'name': 'moe', 'age': 40 },
  { 'name': 'larry', 'age': 50 }
];

_.min(stooges, function(stooge) { return stooge.age; });
// => { 'name': 'moe', 'age': 40 };

// using "_.pluck" callback shorthand
_.min(stooges, 'age');
// => { 'name': 'moe', 'age': 40 };</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="mixin"><span class="type-signature">&lt;static> </span>mixin</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Adds functions properties of <code>object</code> to the <code>lodash</code> function and chainable
wrapper.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>object</code></td>
            
            
            <td class="type">
            
                        Object
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The object of function properties to add to <code>lodash</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 5089</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.mixin({
  'capitalize': function(string) {
    return string.charAt(0).toUpperCase() + string.slice(1).toLowerCase();
  }
});

_.capitalize('moe');
// => 'Moe'

_('moe').capitalize();
// => 'Moe'</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="noConflict"><span class="type-signature">&lt;static> </span>noConflict</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Reverts the '_' variable to its previous value and returns a reference to
the <code>lodash</code> function.</p>
    </div>
    
    
    
    
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 5118</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the <code>lodash</code> function.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Function</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var lodash = _.noConflict();</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="object"><span class="type-signature">&lt;static> </span>object</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates an object composed from arrays of <code>keys</code> and <code>values</code>. Pass either
a single two dimensional array, i.e. <code>[[key1, value1], [key2, value2]]</code>, or
two arrays, one of <code>keys</code> and one of corresponding <code>values</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>keys</code></td>
            
            
            <td class="type">
            
                        Array
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The array of keys.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>values</code></td>
            
            
            <td class="type">
            
                        Array
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    []
                
                </td>
            
            
            <td class="description last"><p>The array of values.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 4403</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns an object composed of the given keys and
 corresponding values.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Object</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.zipObject(['moe', 'larry'], [30, 40]);
// => { 'moe': 30, 'larry': 40 }</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="omit"><span class="type-signature">&lt;static> </span>omit</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates a shallow clone of <code>object</code> excluding the specified properties.
Property names may be specified as individual arguments or as arrays of
property names. If a <code>callback</code> function is passed, it will be executed
for each property in the <code>object</code>, omitting the properties <code>callback</code>
returns truthy for. The <code>callback</code> is bound to <code>thisArg</code> and invoked
with three arguments; (value, key, object).</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>object</code></td>
            
            
            <td class="type">
            
                        Object
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The source object.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback|[prop1,</code></td>
            
            
            <td class="type">
            
                        Function
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>prop2, ...] The properties to omit
 or the function called per iteration.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 2304</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns an object without the omitted properties.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Object</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.omit({ 'name': 'moe', 'age': 40 }, 'age');
// => { 'name': 'moe' }

_.omit({ 'name': 'moe', 'age': 40 }, function(value) {
  return typeof value == 'number';
});
// => { 'name': 'moe' }</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="once"><span class="type-signature">&lt;static> </span>once</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates a function that is restricted to execute <code>func</code> once. Repeat calls to
the function will return the value of the first call. The <code>func</code> is executed
with the <code>this</code> binding of the created function.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>func</code></td>
            
            
            <td class="type">
            
                        Function
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The function to restrict.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 4881</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the new restricted function.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Function</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var initialize = _.once(createApplication);
initialize();
initialize();
// `initialize` executes `createApplication` once</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="pairs"><span class="type-signature">&lt;static> </span>pairs</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates a two dimensional array of the given object's key-value pairs,
i.e. <code>[[key1, value1], [key2, value2]]</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>object</code></td>
            
            
            <td class="type">
            
                        Object
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The object to inspect.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 2339</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns new array of key-value pairs.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Array</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.pairs({ 'moe': 30, 'larry': 40 });
// => [['moe', 30], ['larry', 40]] (order is not guaranteed)</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="partial"><span class="type-signature">&lt;static> </span>partial</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates a function that, when called, invokes <code>func</code> with any additional
<code>partial</code> arguments prepended to those passed to the new function. This
method is similar to <code>_.bind</code>, except it does <strong>not</strong> alter the <code>this</code> binding.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>func</code></td>
            
            
            <td class="type">
            
                        Function
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The function to partially apply arguments to.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>arg1, arg2, ...</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>Arguments to be partially applied.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 4916</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the new partially applied function.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Function</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var greet = function(greeting, name) { return greeting + ' ' + name; };
var hi = _.partial(greet, 'hi');
hi('moe');
// => 'hi moe'</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="partialRight"><span class="type-signature">&lt;static> </span>partialRight</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>This method is similar to <code>_.partial</code>, except that <code>partial</code> arguments are
appended to those passed to the new function.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>func</code></td>
            
            
            <td class="type">
            
                        Function
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The function to partially apply arguments to.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>arg1, arg2, ...</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>Arguments to be partially applied.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 4947</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the new partially applied function.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Function</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var defaultsDeep = _.partialRight(_.merge, _.defaults);

var options = {
  'variable': 'data',
  'imports': { 'jq': $ }
};

defaultsDeep(options, _.templateSettings);

options.variable
// => 'data'

options.imports
// => { '_': _, 'jq': $ }</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="pick"><span class="type-signature">&lt;static> </span>pick</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates a shallow clone of <code>object</code> composed of the specified properties.
Property names may be specified as individual arguments or as arrays of property
names. If <code>callback</code> is passed, it will be executed for each property in the
<code>object</code>, picking the properties <code>callback</code> returns truthy for. The <code>callback</code>
is bound to <code>thisArg</code> and invoked with three arguments; (value, key, object).</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>object</code></td>
            
            
            <td class="type">
            
                        Object
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The source object.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback|[prop1,</code></td>
            
            
            <td class="type">
            
                        Array
                         | 
                    
                        Function
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>prop2, ...] The function called
 per iteration or properties to pick, either as individual arguments or arrays.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 2377</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns an object composed of the picked properties.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Object</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.pick({ 'name': 'moe', '_userid': 'moe1' }, 'name');
// => { 'name': 'moe' }

_.pick({ 'name': 'moe', '_userid': 'moe1' }, function(value, key) {
  return key.charAt(0) != '_';
});
// => { 'name': 'moe' }</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="random"><span class="type-signature">&lt;static> </span>random</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Produces a random number between <code>min</code> and <code>max</code> (inclusive). If only one
argument is passed, a number between <code>0</code> and the given number will be returned.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>min</code></td>
            
            
            <td class="type">
            
                        Number
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    0
                
                </td>
            
            
            <td class="description last"><p>The minimum possible value.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>max</code></td>
            
            
            <td class="type">
            
                        Number
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    1
                
                </td>
            
            
            <td class="description last"><p>The maximum possible value.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 5165</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns a random number.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Number</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.random(0, 5);
// => a number between 0 and 5

_.random(5);
// => also a number between 0 and 5</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="range"><span class="type-signature">&lt;static> </span>range</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates an array of numbers (positive and/or negative) progressing from
<code>start</code> up to but not including <code>end</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>start</code></td>
            
            
            <td class="type">
            
                        Number
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    0
                
                </td>
            
            
            <td class="description last"><p>The start of the range.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>end</code></td>
            
            
            <td class="type">
            
                        Number
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The end of the range.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>step</code></td>
            
            
            <td class="type">
            
                        Number
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    1
                
                </td>
            
            
            <td class="description last"><p>The value to increment or decrement by.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 4054</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns a new range array.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Array</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.range(10);
// => [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]

_.range(1, 11);
// => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

_.range(0, 30, 5);
// => [0, 5, 10, 15, 20, 25]

_.range(0, -10, -1);
// => [0, -1, -2, -3, -4, -5, -6, -7, -8, -9]

_.range(0);
// => []</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="reject"><span class="type-signature">&lt;static> </span>reject</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>The opposite of <code>_.filter</code>, this method returns the elements of a
<code>collection</code> that <code>callback</code> does <strong>not</strong> return truthy for.</p>

<p>If a property name is passed for <code>callback</code>, the created "_.pluck" style
callback will return the property value of the given element.</p>

<p>If an object is passed for <code>callback</code>, the created "_.where" style callback
will return <code>true</code> for elements that have the properties of the given object,
else <code>false</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>collection</code></td>
            
            
            <td class="type">
            
                        Array
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The collection to iterate over.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback</code></td>
            
            
            <td class="type">
            
                        Function
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    identity
                
                </td>
            
            
            <td class="description last"><p>The function called per
 iteration. If a property name or object is passed, it will be used to create
 a "<em>.pluck" or "</em>.where" style callback, respectively.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 3270</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns a new array of elements that did <strong>not</strong> pass the
 callback check.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Array</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var odds = _.reject([1, 2, 3, 4, 5, 6], function(num) { return num % 2 == 0; });
// => [1, 3, 5]

var food = [
  { 'name': 'apple',  'organic': false, 'type': 'fruit' },
  { 'name': 'carrot', 'organic': true,  'type': 'vegetable' }
];

// using "_.pluck" callback shorthand
_.reject(food, 'organic');
// => [{ 'name': 'apple', 'organic': false, 'type': 'fruit' }]

// using "_.where" callback shorthand
_.reject(food, { 'type': 'fruit' });
// => [{ 'name': 'carrot', 'organic': true, 'type': 'vegetable' }]</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="result"><span class="type-signature">&lt;static> </span>result</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Resolves the value of <code>property</code> on <code>object</code>. If <code>property</code> is a function,
it will be invoked with the <code>this</code> binding of <code>object</code> and its result returned,
else the property value is returned. If <code>object</code> is falsey, then <code>undefined</code>
is returned.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>object</code></td>
            
            
            <td class="type">
            
                        Object
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The object to inspect.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>property</code></td>
            
            
            <td class="type">
            
                        String
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The property to get the value of.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 5209</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the resolved value.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Mixed</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var object = {
  'cheese': 'crumpets',
  'stuff': function() {
    return 'nonsense';
  }
};

_.result(object, 'cheese');
// => 'crumpets'

_.result(object, 'stuff');
// => 'nonsense'</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="runInContext"><span class="type-signature">&lt;static> </span>runInContext</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Create a new <code>lodash</code> function using the given <code>context</code> object.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>context</code></td>
            
            
            <td class="type">
            
                        Object
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    window
                
                </td>
            
            
            <td class="description last"><p>The context object.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 443</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the <code>lodash</code> function.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Function</span> 
		
	</dd>
</dl>

        
    
    
</dd>

        
            
<dt>
    <h4 class="name" id="select"><span class="type-signature">&lt;static> </span>select</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Examines each element in a <code>collection</code>, returning an array of all elements
the <code>callback</code> returns truthy for. The <code>callback</code> is bound to <code>thisArg</code> and
invoked with three arguments; (value, index|key, collection).</p>

<p>If a property name is passed for <code>callback</code>, the created "_.pluck" style
callback will return the property value of the given element.</p>

<p>If an object is passed for <code>callback</code>, the created "_.where" style callback
will return <code>true</code> for elements that have the properties of the given object,
else <code>false</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>collection</code></td>
            
            
            <td class="type">
            
                        Array
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The collection to iterate over.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback</code></td>
            
            
            <td class="type">
            
                        Function
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    identity
                
                </td>
            
            
            <td class="description last"><p>The function called per
 iteration. If a property name or object is passed, it will be used to create
 a "<em>.pluck" or "</em>.where" style callback, respectively.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 2710</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns a new array of elements that passed the callback check.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Array</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var evens = _.filter([1, 2, 3, 4, 5, 6], function(num) { return num % 2 == 0; });
// => [2, 4, 6]

var food = [
  { 'name': 'apple',  'organic': false, 'type': 'fruit' },
  { 'name': 'carrot', 'organic': true,  'type': 'vegetable' }
];

// using "_.pluck" callback shorthand
_.filter(food, 'organic');
// => [{ 'name': 'carrot', 'organic': true, 'type': 'vegetable' }]

// using "_.where" callback shorthand
_.filter(food, { 'type': 'fruit' });
// => [{ 'name': 'apple', 'organic': false, 'type': 'fruit' }]</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="shuffle"><span class="type-signature">&lt;static> </span>shuffle</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates an array of shuffled <code>array</code> values, using a version of the
Fisher-Yates shuffle. See <a href='http://en.wikipedia.org/wiki/Fisher-Yates_shuffle'>http://en.wikipedia.org/wiki/Fisher-Yates_shuffle</a>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>collection</code></td>
            
            
            <td class="type">
            
                        Array
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The collection to shuffle.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 3291</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns a new shuffled collection.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Array</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.shuffle([1, 2, 3, 4, 5, 6]);
// => [4, 1, 6, 3, 5, 2]</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="size"><span class="type-signature">&lt;static> </span>size</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Gets the size of the <code>collection</code> by returning <code>collection.length</code> for arrays
and array-like objects or the number of own enumerable properties for objects.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>collection</code></td>
            
            
            <td class="type">
            
                        Array
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The collection to inspect.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 3324</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns <code>collection.length</code> or number of own enumerable properties.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Number</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.size([1, 2]);
// => 2

_.size({ 'one': 1, 'two': 2, 'three': 3 });
// => 3

_.size('curly');
// => 5</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="sortBy"><span class="type-signature">&lt;static> </span>sortBy</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates an array of elements, sorted in ascending order by the results of
running each element in the <code>collection</code> through the <code>callback</code>. This method
performs a stable sort, that is, it will preserve the original sort order of
equal elements. The <code>callback</code> is bound to <code>thisArg</code> and invoked with three
arguments; (value, index|key, collection).</p>

<p>If a property name is passed for <code>callback</code>, the created "_.pluck" style
callback will return the property value of the given element.</p>

<p>If an object is passed for <code>callback</code>, the created "_.where" style callback
will return <code>true</code> for elements that have the properties of the given object,
else <code>false</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>collection</code></td>
            
            
            <td class="type">
            
                        Array
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The collection to iterate over.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback</code></td>
            
            
            <td class="type">
            
                        Function
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    identity
                
                </td>
            
            
            <td class="description last"><p>The function called per
 iteration. If a property name or object is passed, it will be used to create
 a "<em>.pluck" or "</em>.where" style callback, respectively.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 3427</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns a new array of sorted elements.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Array</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.sortBy([1, 2, 3], function(num) { return Math.sin(num); });
// => [3, 1, 2]

_.sortBy([1, 2, 3], function(num) { return this.sin(num); }, Math);
// => [3, 1, 2]

// using "_.pluck" callback shorthand
_.sortBy(['banana', 'strawberry', 'apple'], 'length');
// => ['apple', 'banana', 'strawberry']</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="sortedIndex"><span class="type-signature">&lt;static> </span>sortedIndex</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Uses a binary search to determine the smallest index at which the <code>value</code>
should be inserted into <code>array</code> in order to maintain the sort order of the
sorted <code>array</code>. If <code>callback</code> is passed, it will be executed for <code>value</code> and
each element in <code>array</code> to compute their sort ranking. The <code>callback</code> is
bound to <code>thisArg</code> and invoked with one argument; (value).</p>

<p>If a property name is passed for <code>callback</code>, the created "_.pluck" style
callback will return the property value of the given element.</p>

<p>If an object is passed for <code>callback</code>, the created "_.where" style callback
will return <code>true</code> for elements that have the properties of the given object,
else <code>false</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>array</code></td>
            
            
            <td class="type">
            
                        Array
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The array to inspect.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The value to evaluate.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback</code></td>
            
            
            <td class="type">
            
                        Function
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    identity
                
                </td>
            
            
            <td class="description last"><p>The function called per
 iteration. If a property name or object is passed, it will be used to create
 a "<em>.pluck" or "</em>.where" style callback, respectively.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 4197</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the index at which the value should be inserted
 into <code>array</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Number</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.sortedIndex([20, 30, 50], 40);
// => 2

// using "_.pluck" callback shorthand
_.sortedIndex([{ 'x': 20 }, { 'x': 30 }, { 'x': 50 }], { 'x': 40 }, 'x');
// => 2

var dict = {
  'wordToNumber': { 'twenty': 20, 'thirty': 30, 'fourty': 40, 'fifty': 50 }
};

_.sortedIndex(['twenty', 'thirty', 'fifty'], 'fourty', function(word) {
  return dict.wordToNumber[word];
});
// => 2

_.sortedIndex(['twenty', 'thirty', 'fifty'], 'fourty', function(word) {
  return this.wordToNumber[word];
}, dict);
// => 2</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="tap"><span class="type-signature">&lt;static> </span>tap</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Invokes <code>interceptor</code> with the <code>value</code> as the first argument, and then
returns <code>value</code>. The purpose of this method is to "tap into" a method chain,
in order to perform operations on intermediate results within the chain.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The value to pass to <code>interceptor</code>.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>interceptor</code></td>
            
            
            <td class="type">
            
                        Function
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The function to invoke.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 5493</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns <code>value</code>.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Mixed</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_([1, 2, 3, 4])
 .filter(function(num) { return num % 2 == 0; })
 .tap(alert)
 .map(function(num) { return num * num; })
 .value();
// => // [2, 4] (alerted)
// => [4, 16]</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="template"><span class="type-signature">&lt;static> </span>template</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>A micro-templating method that handles arbitrary delimiters, preserves
whitespace, and correctly escapes quotes within interpolated code.</p>

<p>Note: In the development build, <code>_.template</code> utilizes sourceURLs for easier
debugging. See <a href='http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl'>http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl</a></p>

<p>For more information on precompiling templates see:
<a href='http://lodash.com/#custom-builds'>http://lodash.com/#custom-builds</a></p>

<p>For more information on Chrome extension sandboxes see:
<a href='http://developer.chrome.com/stable/extensions/sandboxingEval.html'>http://developer.chrome.com/stable/extensions/sandboxingEval.html</a></p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>text</code></td>
            
            
            <td class="type">
            
                        String
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The template text.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data</code></td>
            
            
            <td class="type">
            
                        Object
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The data object used to populate the text.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>options</code></td>
            
            
            <td class="type">
            
                        Object
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The options object.
 escape - The "escape" delimiter regexp.
 evaluate - The "evaluate" delimiter regexp.
 interpolate - The "interpolate" delimiter regexp.
 sourceURL - The sourceURL of the template's compiled source.
 variable - The data object variable name.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 5293</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns a compiled function when no <code>data</code> object
 is given, else it returns the interpolated text.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Function</span> |
		
		<span class="param-type">String</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>// using a compiled template
var compiled = _.template('hello <%= name %>');
compiled({ 'name': 'moe' });
// => 'hello moe'

var list = '<% _.forEach(people, function(name) { %><li><%= name %></li><% }); %>';
_.template(list, { 'people': ['moe', 'larry'] });
// => '<li>moe</li><li>larry</li>'

// using the "escape" delimiter to escape HTML in data property values
_.template('<b><%- value %></b>', { 'value': '<script>' });
// => '<b>&lt;script&gt;</b>'

// using the ES6 delimiter as an alternative to the default "interpolate" delimiter
_.template('hello ${ name }', { 'name': 'curly' });
// => 'hello curly'

// using the internal `print` function in "evaluate" delimiters
_.template('<% print("hello " + epithet); %>!', { 'epithet': 'stooge' });
// => 'hello stooge!'

// using custom template delimiters
_.templateSettings = {
  'interpolate': /{{([\s\S]+?)}}/g
};

_.template('hello {{ name }}!', { 'name': 'mustache' });
// => 'hello mustache!'

// using the `sourceURL` option to specify a custom sourceURL for the template
var compiled = _.template('hello <%= name %>', null, { 'sourceURL': '/basic/greeting.jst' });
compiled(data);
// => find the source of "greeting.jst" under the Sources tab or Resources panel of the web inspector

// using the `variable` option to ensure a with-statement isn't used in the compiled template
var compiled = _.template('hi <%= data.name %>!', null, { 'variable': 'data' });
compiled.source;
// => function(data) {
  var __t, __p = '', __e = _.escape;
  __p += 'hi ' + ((__t = ( data.name )) == null ? '' : __t) + '!';
  return __p;
}

// using the `source` property to inline compiled templates for meaningful
// line numbers in error messages and a stack trace
fs.writeFileSync(path.join(cwd, 'jst.js'), '\
  var JST = {\
    "main": ' + _.template(mainText).source + '\
  };\
');</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="throttle"><span class="type-signature">&lt;static> </span>throttle</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates a function that, when executed, will only call the <code>func</code> function
at most once per every <code>wait</code> milliseconds. Pass an <code>options</code> object to
indicate that <code>func</code> should be invoked on the leading and/or trailing edge
of the <code>wait</code> timeout. Subsequent calls to the throttled function will
return the result of the last <code>func</code> call.</p>

<p>Note: If <code>leading</code> and <code>trailing</code> options are <code>true</code>, <code>func</code> will be called
on the trailing edge of the timeout only if the the throttled function is
invoked more than once during the <code>wait</code> timeout.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>func</code></td>
            
            
            <td class="type">
            
                        Function
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The function to throttle.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>wait</code></td>
            
            
            <td class="type">
            
                        Number
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The number of milliseconds to throttle executions to.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>options</code></td>
            
            
            <td class="type">
            
                        Object
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The options object.
 [leading=true] A boolean to specify execution on the leading edge of the timeout.
 [trailing=true] A boolean to specify execution on the trailing edge of the timeout.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 4980</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the new throttled function.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Function</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var throttled = _.throttle(updatePosition, 100);
jQuery(window).on('scroll', throttled);

jQuery('.interactive').on('click', _.throttle(renewToken, 300000, {
  'trailing': false
}));</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="times"><span class="type-signature">&lt;static> </span>times</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Executes the <code>callback</code> function <code>n</code> times, returning an array of the results
of each <code>callback</code> execution. The <code>callback</code> is bound to <code>thisArg</code> and invoked
with one argument; (index).</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>n</code></td>
            
            
            <td class="type">
            
                        Number
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The number of times to execute the callback.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback</code></td>
            
            
            <td class="type">
            
                        Function
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The function called per iteration.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 5418</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns a new array of the results of each <code>callback</code> execution.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Array</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var diceRolls = _.times(3, _.partial(_.random, 1, 6));
// => [3, 6, 4]

_.times(3, function(n) { mage.castSpell(n); });
// => calls `mage.castSpell(n)` three times, passing `n` of `0`, `1`, and `2` respectively

_.times(3, function(n) { this.cast(n); }, mage);
// => also calls `mage.castSpell(n)` three times</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="toArray"><span class="type-signature">&lt;static> </span>toArray</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Converts the <code>collection</code> to an array.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>collection</code></td>
            
            
            <td class="type">
            
                        Array
                         | 
                    
                        Object
                         | 
                    
                        String
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The collection to convert.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 3463</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the new converted array.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Array</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>(function() { return _.toArray(arguments).slice(1); })(1, 2, 3, 4);
// => [2, 3, 4]</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="transform"><span class="type-signature">&lt;static> </span>transform</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>An alternative to <code>_.reduce</code>, this method transforms an <code>object</code> to a new
<code>accumulator</code> object which is the result of running each of its elements
through the <code>callback</code>, with each <code>callback</code> execution potentially mutating
the <code>accumulator</code> object. The <code>callback</code> is bound to <code>thisArg</code> and invoked
with four arguments; (accumulator, value, key, object). Callbacks may exit
iteration early by explicitly returning <code>false</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>collection</code></td>
            
            
            <td class="type">
            
                        Array
                         | 
                    
                        Object
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The collection to iterate over.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>callback</code></td>
            
            
            <td class="type">
            
                        Function
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                    identity
                
                </td>
            
            
            <td class="description last"><p>The function called per iteration.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>accumulator</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The custom accumulator value.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>thisArg</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last"><p>The <code>this</code> binding of <code>callback</code>.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 2432</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the accumulated value.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Mixed</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var squares = _.transform([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], function(result, num) {
  num *= num;
  if (num % 2) {
    return result.push(num) < 3;
  }
});
// => [1, 9, 25]

var mapped = _.transform({ 'a': 1, 'b': 2, 'c': 3 }, function(result, num, key) {
  result[key] = num * 3;
});
// => { 'a': 3, 'b': 6, 'c': 9 }</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="unescape"><span class="type-signature">&lt;static> </span>unescape</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>The inverse of <code>_.escape</code>, this method converts the HTML entities
<code>&amp;amp;</code>, <code>&amp;lt;</code>, <code>&amp;gt;</code>, <code>&amp;quot;</code>, and <code>&amp;#39;</code> in <code>string</code> to their
corresponding characters.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>string</code></td>
            
            
            <td class="type">
            
                        String
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The string to unescape.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 5445</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the unescaped string.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">String</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.unescape('Moe, Larry &amp; Curly');
// => 'Moe, Larry & Curly'</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="union"><span class="type-signature">&lt;static> </span>union</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Computes the union of the passed-in arrays using strict equality for
comparisons, i.e. <code>===</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>array1, array2, ...</code></td>
            
            
            <td class="type">
            
                        Array
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>Arrays to process.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 4229</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns a new array of unique values, in order, that are
 present in one or more of the arrays.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Array</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.union([1, 2, 3], [101, 2, 1, 10], [2, 1]);
// => [1, 2, 3, 101, 10]</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="uniqueId"><span class="type-signature">&lt;static> </span>uniqueId</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Generates a unique ID. If <code>prefix</code> is passed, the ID will be appended to it.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>prefix</code></td>
            
            
            <td class="type">
            
                        String
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The value to prefix the ID with.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 5465</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the unique ID.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">String</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.uniqueId('contact_');
// => 'contact_104'

_.uniqueId();
// => '105'</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="unzip"><span class="type-signature">&lt;static> </span>unzip</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>The inverse of <code>_.zip</code>, this method splits groups of elements into arrays
composed of elements from each group at their corresponding indexes.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>array</code></td>
            
            
            <td class="type">
            
                        Array
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The array to process.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 4335</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns a new array of the composed arrays.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Array</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.unzip([['moe', 30, true], ['larry', 40, false]]);
// => [['moe', 'larry'], [30, 40], [true, false]];</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="values"><span class="type-signature">&lt;static> </span>values</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates an array composed of the own enumerable property values of <code>object</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>object</code></td>
            
            
            <td class="type">
            
                        Object
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The object to inspect.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 2465</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns a new array of property values.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Array</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.values({ 'one': 1, 'two': 2, 'three': 3 });
// => [1, 2, 3] (order is not guaranteed)</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="without"><span class="type-signature">&lt;static> </span>without</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates an array with all occurrences of the passed values removed using
strict equality for comparisons, i.e. <code>===</code>.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>array</code></td>
            
            
            <td class="type">
            
                        Array
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>The array to filter.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>value1, value2, ...</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>Values to remove.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 4361</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns a new filtered array.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Array</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.without([1, 2, 1, 0, 3, 1, 4], 0, 1);
// => [2, 3, 4]</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="wrap"><span class="type-signature">&lt;static> </span>wrap</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Creates a function that passes <code>value</code> to the <code>wrapper</code> function as its
first argument. Additional arguments passed to the function are appended
to those passed to the <code>wrapper</code> function. The <code>wrapper</code> is executed with
the <code>this</code> binding of the created function.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Mixed
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The value to wrap.</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>wrapper</code></td>
            
            
            <td class="type">
            
                        Function
                        
                    
            </td>
            
            
            
            
            
            <td class="description last"><p>The wrapper function.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 5021</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns the new function.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Function</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>var hello = function(name) { return 'hello ' + name; };
hello = _.wrap(hello, function(func) {
  return 'before, ' + func('moe') + ', after';
});
hello();
// => 'before, hello moe, after'</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="zip"><span class="type-signature">&lt;static> </span>zip</h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        <p>Groups the elements of each array at their corresponding indexes. Useful for
separate data sources that are coordinated through matching array indexes.
For a matrix of nested arrays, <code>_.zip.apply(...)</code> can transpose the matrix
in a similar fashion.</p>
    </div>
    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Argument</th>
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>array1, array2, ...</code></td>
            
            
            <td class="type">
            
                        Array
                        
                    
            </td>
            
            
                <td class="attributes">
                
                    &lt;optional><br>
                
                    
                
                </td>
            
            
            
            
            <td class="description last"><p>Arrays to process.</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>lib/fwlib/lodash.js, line 4381</li></ul></dd>
	
    
    
	
	
	
	
</dl>

    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>Returns a new array of grouped elements.</p>
</div>




<dl>
	<dt>
		Type
	</dt>
	<dd>
		
		<span class="param-type">Array</span> 
		
	</dd>
</dl>

        
    
    
        <h5>Example</h5>
        
    <pre class="sh_javascript"><code>_.zip(['moe', 'larry'], [30, 40], [true, false]);
// => [['moe', 30, true], ['larry', 40, false]]</code></pre>

    
</dd>

        </dl>
    
    
    
    
    
</article>

</section>  




</div>

<nav>
    <h2><a href="index.html">Index</a></h2><h3>Modules</h3><ul><li><a href="module-DomStorage.html">DomStorage</a></li><li><a href="module-files.html">files</a></li><li><a href="module-fonts.html">fonts</a></li><li><a href="module-layers.html">layers</a></li><li><a href="module-prefs.html">prefs</a></li><li><a href="module-underscore.html">underscore</a></li></ul><h3>Classes</h3><ul><li><a href="a321565296.html">DomStorage</a></li><li><a href="module-layers.Layer.html">Layer</a></li><li><a href="module-layers.LayerTree.html">LayerTree</a></li><li><a href="module-prefs.PrefsStorage.html">PrefsStorage</a></li><li><a href="_.html">_</a></li></ul>
</nav>

<br clear="both">

<footer>
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3</a> on Mon Jul 08 2013 09:13:09 GMT-0700 (PDT)
</footer>

<script> sh_highlightDocument(); </script>
</body>
</html>
